@charset "utf-8";

@import '../variable';

/**
 *
 * @DropList.css
 * @author xinxuzhang
 * @create 15-07-01
 *
**/

.ui-droplist-x {
	position: absolute;
	width: 111px;
	padding: 5px 0;
	background-color: $backgroundList;
	box-shadow: 0 2px 5px rgba(0,0,0,.25);
	border: 1px solid $borderNormal;
	border: 0 rgba(0,0,0,.2);
	font-size: 14px;
	-webkit-animation: fadeIn .2s;
  	animation: fadeIn .2s;
	z-index: 9;
}
.ui-droplist-li {
	display: block;
	line-height: 20px;
	padding: 7px 12px 8px;
	color: $dark;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
a.ui-droplist-li:hover {
	color: $dark;
	background-color: $backgroundListHover;
}
span.ui-droplist-li {
	color: $gray;
	cursor: default;
}

.ui-droplist-li > .icon {
	vertical-align: -5px;
	*vertical-align: -1px;
	margin-right: 5px;
}

/*.ui-droplist-x > .selected {
	background-color: #f1f9fe;
}*/


.ui-droplist-arrow {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url(#{$urlImage}/DropList/icon-droplist-arrow.png) no-repeat 0 0;
	background-image: url(), none;
	background-size: 20px 40px;
	vertical-align: -5px;
	*vertical-align: -1px;
}
a:hover .ui-droplist-arrow {
	background-position: 0 -20px;
}